﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TextMining
{
    public class Document  // Dataset's single document
    {
        public int Words { private set; get; }  // number of words in document
        public int Id { private set; get; }   // document's number

        public Document(int id)
        {
            Words = 0;  // no words at the beginning
            Id = id;  // document's number
        }

        public void Add()   // one more word in document
        {
            Words++;
        }
    }
}
